import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@cool-midway/core';
import { Column} from 'typeorm';

/**
 * 插画标签
 */
@EntityModel('original_tags')
export class OriginalTagsEntity extends BaseEntity {
  @Column({ comment: '名称' })
  name: string;

  @Column({ comment: '排序', default: 0 })
  sortNum: number;

  @Column({ comment: '图片', nullable: true })
  pic: string;
}
